const express = require('express');
const router = express.Router();
const {
  createFarmerProductList,
  getFarmerProductListByFarmerId,
  updateFarmerProductListIsListed
} = require('../controllers/farmerProductListController');

router.post('/', createFarmerProductList);
router.get('/farmer/:farmerId', getFarmerProductListByFarmerId);
router.put('/:id', updateFarmerProductListIsListed);

module.exports = router;